package com.bwf.st;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2022/12/19 10:31
 * @copyright: 博为峰
 */
public class StaticDemo {
    public static final String MYSQL_USERNAME = "root";
    public static final String MYSQL_PASSWORD = "123456";

    static {//静态代码块, 随着类的加载而执行，只执行一次
        System.out.println("连接数据库");
    }
}
